package com.sg.model.oms.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sg.framework.common.po.BaseEntity;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.io.Serial;
import java.util.Date;

/**
 * 备注：个性字段，采用个性定制表来实现   1、采用小版本。有空间，有应用
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@TableName("oms_framework_original_role_member_info")  //1-2-10身份人员资料表
public class OriginalRoleMemberInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 身份人员资料ID
     */
    @TableId(value = "original_staf_info_id", type = IdType.ASSIGN_UUID)
    @NotNull(message = "originalStafInfoId不能为空")
    private String originalStafInfoId;
    /**
     * 身份人员ID
     */
    @TableField(value = "original_role_member_id")
    @NotNull(message = "身份人员ID不能为空")
    @Schema(description = "身份人员ID")
    private String originalRoleMemberId;
    /**
     * 身份人员编号
     */
    @TableField(value = "role_member_code")
    @NotNull(message = "身份人员编号不能为空")
    @Schema(description = "身份人员编号")
    private String roleMemberCode;
    /**
     * 备注
     */
    @TableField(value = "rela_memo")
    @Schema(description = "备注")
    private String relaMemo;
    /**
     * 职务信息展示
     */
    @TableField(value = "position_id_name")
    @Schema(description = "职务信息展示")
    private String positionIdName;
    /**
     * 就职类型字典ID
     */
    @TableField(value = "induction_type_dictionary_id")
    @Schema(description = "就职类型字典ID")
    private String inductionTypeDictionaryId;
    /**
     * 就职状态展示字典ID
     */
    @TableField(value = "induction_state_dictionary_id")
    @Schema(description = "就职状态展示字典ID")
    private String inductionStateDictionaryId;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
    @NotNull(message = "是否作废不能为空")
    @Schema(description = "是否作废")
    private String isValid;
    /**
     * 是否兼职 TRUE:是 FALSE:否
     */
    @TableField(value = "is_pt_job")
    @Schema(description = "是否兼职")
    private String isPtJob;
    /**
     * 创建于空间ID
     */
    @TableField(value = "space_id")
    @NotNull(message = "创建于空间ID不能为空")
    @Schema(description = "创建于空间ID")
    private String spaceId;
    /**
     * 创建于联盟应用ID
     */
    @TableField(value = "app_id")
    @NotNull(message = "创建于联盟应用ID不能为空")
    @Schema(description = "创建于联盟应用ID")
    private String appId;
    /**
     * 操作时间
     */
    @TableField(value = "operate_time")
    @Schema(description = "操作时间")
    private Date operateTime;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @Schema(description = "创建时间")
    private Date createTime;
}
